import { Injectable } from '@angular/core';
import 'rxjs/add/operator/map';
import 'rxjs/add/operator/toPromise';
import {HttpService} from "./HttpService";

@Injectable()
export class CityPickerService {

  constructor(public httpService: HttpService) {
    console.log('Hello CityPicker Provider');
  }

  getCitiesData(){
    return this.httpService.httpGet('./assets/data/city-data.json');
  }

}
